package com.careersersystem.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Users entity. @author MyEclipse Persistence Tools
 */

public class Users implements java.io.Serializable {

	// Fields

	private Integer userId;
	private String userName;
	private String userPassword;
	private Short userType;
	private Short confirmed;
	private Set employers = new HashSet(0);
	private Set administrators = new HashSet(0);
	private Set noticesForSenderId = new HashSet(0);
	private Set noticesForReceiverId = new HashSet(0);
	private Set staffs = new HashSet(0);
	private Set students = new HashSet(0);

	// Constructors

	/** default constructor */
	public Users() {
	}

	/** minimal constructor */
	public Users(String userName, String userPassword, Short userType,
			Short confirmed) {
		this.userName = userName;
		this.userPassword = userPassword;
		this.userType = userType;
		this.confirmed = confirmed;
	}

	/** full constructor */
	public Users(String userName, String userPassword, Short userType,
			Short confirmed, Set employers, Set administrators,
			Set noticesForSenderId, Set noticesForReceiverId, Set staffs,
			Set students) {
		this.userName = userName;
		this.userPassword = userPassword;
		this.userType = userType;
		this.confirmed = confirmed;
		this.employers = employers;
		this.administrators = administrators;
		this.noticesForSenderId = noticesForSenderId;
		this.noticesForReceiverId = noticesForReceiverId;
		this.staffs = staffs;
		this.students = students;
	}

	// Property accessors

	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getUserPassword() {
		return this.userPassword;
	}

	public void setUserPassword(String userPassword) {
		this.userPassword = userPassword;
	}

	public Short getUserType() {
		return this.userType;
	}

	public void setUserType(Short userType) {
		this.userType = userType;
	}

	public Short getConfirmed() {
		return this.confirmed;
	}

	public void setConfirmed(Short confirmed) {
		this.confirmed = confirmed;
	}

	public Set getEmployers() {
		return this.employers;
	}

	public void setEmployers(Set employers) {
		this.employers = employers;
	}

	public Set getAdministrators() {
		return this.administrators;
	}

	public void setAdministrators(Set administrators) {
		this.administrators = administrators;
	}

	public Set getNoticesForSenderId() {
		return this.noticesForSenderId;
	}

	public void setNoticesForSenderId(Set noticesForSenderId) {
		this.noticesForSenderId = noticesForSenderId;
	}

	public Set getNoticesForReceiverId() {
		return this.noticesForReceiverId;
	}

	public void setNoticesForReceiverId(Set noticesForReceiverId) {
		this.noticesForReceiverId = noticesForReceiverId;
	}

	public Set getStaffs() {
		return this.staffs;
	}

	public void setStaffs(Set staffs) {
		this.staffs = staffs;
	}

	public Set getStudents() {
		return this.students;
	}

	public void setStudents(Set students) {
		this.students = students;
	}

}